/*
 * Erstellt mit SharpDevelop.
 * Benutzer: inffbr
 * Datum: 07.05.2009
 * Zeit: 10:50
 * 
 * sEmit WebSMSHandler Interface for Plugin Support
 */
using System;
using System.Drawing;
using System.Windows.Forms;

namespace ProviderHandler
{
	/// <summary>
	/// Handles the SMS Sending and Information Capturing.
	/// </summary>
	public interface IWebSMSHandler
	{
		void Initialize();
		
		//Plugin Information
		string Name {get;}
		string Author {get;}
		string Version {get;}
		
		//Provider Info
		string Provider {get;}
		string Description {get;}
		string ProviderHomepage {get;}
		Bitmap ProviderLogo {get;}
		
		//SMS Sending
		string LoginName {get; set;}
		string Password {get; set;}
		
		//SMS Info
		int SMSLength {get;}
		string SMSAdvertisement {get;}
		
		bool Login();
		bool SendSMS(string receiver, string message);
		
		//Contact Handling
		Contact[] GetContacts();
		bool AddContact(String name, String number);
		bool DeleteContact(String name, String number);
		
		//Information
		AccountInformation GetInformation();
	}
}
